package com.wangxiang.shop.product.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wangxiang.common.utils.PageUtils;
import com.wangxiang.common.utils.Query;

import com.wangxiang.shop.product.dao.TwoThreeTypeRelDao;
import com.wangxiang.shop.product.entity.TwoThreeTypeRelEntity;
import com.wangxiang.shop.product.service.TwoThreeTypeRelService;


@Service("twoThreeTypeRelService")
public class TwoThreeTypeRelServiceImpl extends ServiceImpl<TwoThreeTypeRelDao, TwoThreeTypeRelEntity> implements TwoThreeTypeRelService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TwoThreeTypeRelEntity> page = this.page(
                new Query<TwoThreeTypeRelEntity>().getPage(params),
                new QueryWrapper<TwoThreeTypeRelEntity>()
        );

        return new PageUtils(page);
    }

}